<div class="layui-fluid" id="VIEW-oalist" lay-title="办公申请">
    <div class="layui-row layui-col-space12">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body" style="height: 200px;">
                    <div class="layui-row" style="margin-top:15px;">
                        <div class="layui-col-xs3 nepadmin-grid leave" >
                            <span class="layui-icon layui-icon-skin-fill"></span>
                            <p>请假申请</p>
                        </div>
                        <div class="layui-col-xs3 nepadmin-grid reimburse" >
                            <span class="layui-icon layui-icon-notification-fill"></span>
                            <p>报销申请</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use(['admin', 'table', 'jquery'], function () {
        var $ = layui.jquery
            , layer = layui.layer
            , admin = layui.admin;

        var view = $('#VIEW-oalist');
        var table = POPUP_DATA.table;
        view.find(".leave").click(function () {
            admin.popup({
                url: '/oa/leave/leaveEdit',
                area: ['650px', '550px'],
                data : {
                    table:table
                }
            });
        });

        view.find('.reimburse').click(function () {
            admin.popup({
                url: '/oa/reimburse/reimburseEdit',
                area: ['650px', '550px'],
                data : {
                    table:table
                }
            });
        });
    })
</script>